$(function () {
    $(document).ready(function () {
        var i=3;
        var timer=setInterval(function(){
            i--;
            $("#countdown").html(i)
            if(i==0){
                $(window).attr("location","../login.html");
                clearInterval(timer);
            }
        },1000)
    })
    $("#nowback").click(function () {
        $(window).attr("location","../login.html");
    });
})